using System;
using NBModular.Lib.Data.Abstractions.Attributes;
using NBModular.Lib.Data.Core.Entities.Extend;

namespace NBModular.Module.WeChat.Domain.WeChat
{
    /// <summary>
    /// 微信配置管理
    /// </summary>
    [Table("WeChat")]
    public partial class WeChatEntity : EntityBaseWithSoftDelete
    {
        /// <summary>
        /// 标题
        /// </summary>
        [Length(100)]
        public string Title { get; set; }

        /// <summary>
        /// 微信应用ID
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 微信应用密钥
        /// </summary>
        public string AppSecret { get; set; }

        /// <summary>
        /// AccessToken
        /// </summary>
		[Nullable]
        [Length(1000)]
        public string AccessToken { get; set; }

        /// <summary>
        /// JsApiTicket
        /// </summary>
        public string JsApiTicket { get; set; }

    }
}
